The ggggeeeettttRRRReeeennnnddddeeeerrrrTTTTaaaabbbblllleeee trait method returns a render table
corresponding to the _r_e_n_d_e_r_T_a_b_l_e_T_y_p_e of widget _w_i_d_g_e_t. This
value (if non-NULL) is the internal value of the manager's
render table, and should not be modified or freed.
For example, given a manager widget named
MMMMyyyyMMMMaaaannnnaaaaggggeeeerrrrWWWWiiiiddddggggeeeettttthat supports the correct render table
resources, the following is a sample implementation of the
trait method:
static XmRenderTable
GetRenderTable( Widget widget,
XtEnum renderTableType)
{
XmMyManagerWidget mm = (XmMyManagerWidget) widget;
switch(renderTableType) {
case XmLABEL_RENDER_TABLE: return mm->my_manager.label_render_table;
case XmBUTTON_RENDER_TABLE: return mm->my_manager.button_render_table;
case XmTEXT_RENDER__RENDER_TABLE: return mm->my_manager.text_render_table;
}
return NULL;
}
_w_i_d_g_e_t Specifies the widget containing render table
information.
_r_e_n_d_e_r_T_a_b_l_e_T_y_p_e
Specifies the desired type of render table; the
specified value must be one of the following:
XXXXmmmmLLLLAAAABBBBEEEELLLL____RRRREEEENNNNDDDDEEEERRRR____TTTTAAAABBBBLLLLEEEE, XXXXmmmmBBBBUUUUTTTTTTTTOOOONNNN____RRRREEEENNNNDDDDEEEERRRR____TTTTAAAABBBBLLLLEEEE, and
XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd(3), VVVVeeeennnnddddoooorrrrSSSShhhheeeellllllll(3), XXXXmmmmMMMMeeeennnnuuuuSSSShhhheeeellllllll(3), and